USE SharePointLogging
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[UsageLog](
	[id] [uniqueidentifier] NULL,
	[time] [datetime] NULL,
	[webapp] [varchar](100) NULL,
	[sitecollection] [varchar](100) NULL,
	[url] [varchar](300) NULL,
	[user] [varchar](100) NULL,
	[referral] [varchar](250) NULL,
	[command] [varchar](200) NULL,
	[useragent] [varchar](250) NULL,
	[querystring] [varchar](250) NULL
) ON [PRIMARY]

GO
SET ANSI_PADDING OFF